<template>
	<div class="doc_pc_components_Floating_performance">
		<div ref="testRef">测试</div>
		<Floating
			v-for="i in 100"
			:key="i"
			visible
			content="测试"
			:reference-ref="testRef"
		/>
	</div>
</template>

<script setup>
import {onMounted,shallowRef} from 'vue';
import {Floating} from 'powerful-ui/pc-default';

const testRef=shallowRef(null);

console.time('耗时');
onMounted(() => {
	console.timeEnd('耗时');
});
</script>

<style lang="scss">

</style>